# -*- coding: utf-8 -*-
# scrap.urls


from werkzeug.routing import (
  Map, Rule, Submount,
  EndpointPrefix, RuleTemplate,
)
import scrap.views

def make_rules():
  return [
    EndpointPrefix('scrap/', [
      Rule('/', endpoint='index'),
      Rule('/post_clip', endpoint='post_clip'),
      Rule('/get_clips', endpoint='get_clips'),
    ]),
  ]

all_views = {
  'scrap/index': scrap.views.index,
  'scrap/post_clip': scrap.views.post_clip,
  'scrap/get_clips': scrap.views.get_clips,
}
